package com.hbu.product.hbumallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hbu.common.utils.PageUtils;
import com.hbu.product.hbumallproduct.entity.AttrEntity;
import com.hbu.product.hbumallproduct.vo.*;

import java.util.List;
import java.util.Map;

/**
 * ??Ʒ?
 *
 * @author zhaoxiaohan
 * @email 13315217827@163.com
 * @date 2022-10-27 22:15:39
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveAttr(AttrVO attr);

    PageUtils getAttrList(Map<String, Object> params, Long catelogId, String attrType);

    AttrInfoVO getInfoById(Long attrId);

    void cascadeUpdate(AttrUpdateVO attr);

    List<AttrRelationVO> getAttrRelation(Long attrgroupId);

    PageUtils getNoAttrRelation(Map<String, Object> params, Long attrgroupId);
}

